package work;

import java.util.Arrays;

public class Test7 {
    public static void main(String[] args) {
        String s = "/regUser";
        String[] ss = s.split("\\?");
        System.out.println(Arrays.toString(ss));
    }
}
